package cn.tedu.day01.jnsdlfaq.dept.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 部门实体
 *
 * @author duwq
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dept")
public class SysDept {
    @TableId(value = "dept_id", type = IdType.AUTO)
    private Integer deptId;//部门id
    @TableField("dept_name")
    private String deptName;//部门名
    @TableField("location")
    private String location;//部门位置
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;

}
